#include "MeshData.h"

using namespace Model;

Model::MeshPTNData::MeshPTNData(const MeshData &meshData)
{
    int numVertices = meshData.m_Positions.size();

    using VertexType = VertexPosNormalTex;

    std::vector<VertexType> vertices;
     for (int i = 0; i < numVertices; i++)
    {
        vertices.emplace_back(VertexType(meshData, i));
    }
    this->m_Vertices = vertices;
    this->m_Indices = meshData.m_Indices;
};
